<template>
  <div>
    <el-table :data="tableData" stripe >
      <el-table-column prop="location" label="登录位置" width="180"/>
      <el-table-column prop="ip" label="ip" width="180"/>
      <el-table-column prop="loginTime" label="登录时间" width="180"/>
      <el-table-column prop="loginInfo" label="登录信息" width="180"/>
      <el-table-column prop="loginEquipment" label="登录设备" />
    </el-table>
    <Pagination />
  </div>
</template>

<script setup lang="ts">
import Pagination from "@/components/pagination/index.vue";
import { ref, reactive } from "vue";

const tableData = reactive(
  [
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
    {
      location: '本地局域网',
      ip: '172.16.16.16',
      loginTime: '2023-03-05 10:13:42',
      loginInfo: '网页登录',
      loginEquipment: '操作系统：Windows10;浏览器版本：Chrome 8-11.-1-222'
    },
  ]
)
</script>

<style scoped lang="scss">

</style>
